<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1">
        <thead>
            <tr>
                <td>
                    id
                </td>
                <td>
                    类别
                </td>
                <td>
                    创建时间
                </td>
            </tr>>
        </thead>
        <tbody>
        {% for item in cat %}
            <tr><td>{{ item.id }}</td><td>{{ item.name }}</td><td>{{ item.createDate }}</td></tr>
        {% endfor %}
        </tbody>
    </table>
</body>
</html>